package com.icloud.admin.query.mapper;

import com.github.pagehelper.Page;
import com.icloud.admin.query.dto.UserDTO;
import org.apache.ibatis.annotations.Param;


public interface UserDTOMapper {

    UserDTO findById(String id);

    UserDTO findByUsername(String username);

    Page<UserDTO> findPaging(@Param("pageNum") Integer pageNum, @Param("pageSize") Integer pageSize);

}